package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预选课程
 * </p>
 *
 * @author quin.song
 * @since 2023-01-12
 */
@Data
@Accessors(chain = true)
@TableName("css_pre_select_course")
@ApiModel(value = "CssPreSelectCourse对象", description = "预选课程")
public class CssPreSelectCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("每个任务发布的选修课程，选修课预选只能发布一次，不存在多轮")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cssTaskId;

    private Integer taskId;

    @ApiModelProperty(value = "教学计划id",required = true)
    private Long teachingPlanId;

    private Integer courseId;

    @ApiModelProperty("修读性质：1主修2辅修")
    private Integer studyNature;

    @ApiModelProperty("操作状态 1未设置 2已设置")
    private Integer operationStatus;
}
